<script setup>
import { inject } from 'vue'
const themeColor = inject('theme.color')
const count = inject('count')
const changeCount = inject('changeCount')
</script>
<template>
  <h3>底层组件</h3>
  {{ themeColor }} - {{ count }}
  <button @click="changeCount(100)">reset to 100</button>
</template>
